<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="<%=request.getContextPath()+"/"%>">
    <title>Title</title>
</head>
<body>
<h3>添加部门</h3>

<form method="post" action="http://localhost:8080/Dept?action=add">
    <table border="1">
        <tr>
            <td> 部门名称:</td>
            <td>
                <input type="text" name="dname" value="Java教学部" >
            </td>
        </tr>

        <tr>
            <td> 部门位置:</td>
            <td>
                <input type="text" name="loc" value="西部硅谷">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="添加">
                <input type="reset" value="重置">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
